package com.xinqi.modules.chat.chat.friend.dto.req;

import com.xinqi.modules.chat.enums.apply.FriendApplyComnonEnum;
import com.xinqi.modules.chat.enums.apply.FriendApplyIsReadEnum;
import com.xinqi.modules.chat.enums.apply.FriendApplyStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 加好友申请列表-请求对象
 *
 * @author: system
 * @date: 2023/01/12
 */
@Data
@Schema(description = "加好友申请列表-修改")
public class ChatFriendApplyUpdateDTO implements Serializable {

    /**
     * ID
     */
    @Schema(description = "ID")
    private Long id;
    /**
     * 申请人ID
     */
    @Schema(description = "申请人ID")
    @NotNull(message = "缺少申请人")
    private Long applyerId;
    /**
     * 接收人ID
     */
    @Schema(description = "接收人ID")
    @NotNull(message = "缺少接受人")
    private Long receverId;
    /**
     * 重命名
     */
    @Schema(description = "重命名")
    private String renames;
    /**
     * 状态:0=未处理,1=已同意,2=已拒绝,3=已过期
     */
    @Schema(description = "状态:0=未处理,1=已同意,2=已拒绝,3=已过期")
    private FriendApplyStatusEnum status;
    /**
     * 1是新奇号，2是手机号，3扫码添加，4课程板块信息添加,5群聊添加
     */
    @Schema(description = "1是新奇号，2是手机号，3扫码添加，4课程板块信息添加,5群聊添加")
    private FriendApplyComnonEnum comnon;
    /**
     * 已读未读标志
     */
    @Schema(description = "1已读，0未读")
    private FriendApplyIsReadEnum isRead;
}
